﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace PlaceOrder_Core.PlaceOrderModels;

[Table("tradekchart_id9")]
public partial class TradekchartId9
{
    [Column("tscode")]
    public string Tscode { get; set; } = null!;

    [Column("tradedate")]
    public DateOnly Tradedate { get; set; }

    [Column("openprice")]
    public decimal? Openprice { get; set; }

    [Column("closeprice")]
    public decimal? Closeprice { get; set; }

    [Column("highprice")]
    public decimal? Highprice { get; set; }

    [Column("lowprice")]
    public decimal? Lowprice { get; set; }

    [Column("volume")]
    public int? Volume { get; set; }

    [Column("change")]
    public decimal? Change { get; set; }

    [Column("meandealprice")]
    public decimal? Meandealprice { get; set; }

    [Column("duration")]
    public decimal? Duration { get; set; }

    [Column("fp_op")]
    public decimal? FpOp { get; set; }

    [Column("fp_cp")]
    public decimal? FpCp { get; set; }

    [Column("fp_hp")]
    public decimal? FpHp { get; set; }

    [Column("fp_lp")]
    public decimal? FpLp { get; set; }

    [Column("np_op")]
    public decimal? NpOp { get; set; }

    [Column("np_cp")]
    public decimal? NpCp { get; set; }

    [Column("np_hp")]
    public decimal? NpHp { get; set; }

    [Column("np_lp")]
    public decimal? NpLp { get; set; }

    [Column("id")]
    [Key]
    public long Id { get; set; }
}
